package com.jy.api.signUpReq.pos;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties
public class MemberSignUpReq {

    @NotNull(message = "参数错误")
    private String memberId;

    @NotNull(message = "参数错误")
    private String storeId;

    private String chargeRuleId;

    @Min(value = 0, message = "金额必须大于0")
    private double amount;

    private String type;

    private String userName;
}
